﻿using System.Web.Mvc;

namespace Back_end.Controllers
{
	[Authorize(Roles = "SuperUser,Admin")]
	public class HomeController : Controller
	{
		public ActionResult Index()
		{
			return View();
		}

		public ActionResult ChatRoom()
		{
			return View();
		}

		public ActionResult Charts()
		{
			return View(); 
		}

		[AllowAnonymous]
		public ActionResult About()
		{
			ViewBag.Message = "晴空®后台管理系统";

			return View();
		}

		[AllowAnonymous]
		public ActionResult Contact()
		{
			ViewBag.Message = "电子邮件";

			return View();
		}
	}
}